project(ImageKit)

set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0")

set(SUBFRAMEWORK_VERSION "A")

generate_sdk_subframework(ImageKit
	BASE_PATH ${quartz_sdk_path}
	VERSION ${SUBFRAMEWORK_VERSION}
	HEADER "include/ImageKit"
)

add_framework(ImageKit
	FAT
	CURRENT_VERSION
	VERSION ${SUBFRAMEWORK_VERSION}
	PARENT "Quartz"

	SOURCES
		src/IKCIFilterCorrection.m
		src/IKDeviceItem.m
		src/IKAnimationData.m
		src/IKPTEditorController.m
		src/IKRectAnnotation.m
		src/IKDeviceBrowserOutlineView.m
		src/IKTintCorrection.m
		src/IKImageEffects.m
		src/IKPTImageGridCell.m
		src/IKImageBrowserFreezeAnimation.m
		src/IKSSContentLayer.m
		src/IKCacheNode.m
		src/IKSSToolTip.m
		src/IKDeviceBrowserDataView.m
		src/IKNProgressLayer.m
		src/IKPTSquareButton.m
		src/IKTheme.m
		src/IKImageEditPanelPrivateData.m
		src/IKCollageCell.m
		src/IKBox.m
		src/IKThumbnailOperation.m
		src/IKEmbeddedImageView.m
		src/IKNImageView.m
		src/IKVImageCorrection.m
		src/IKImageFlowAccessibilityCell.m
		src/IKNavigationRectLayer.m
		src/IKFilterBrowserView.m
		src/IKSlideshowPDF.m
		src/IKCropRectSelection.m
		src/IKEmbeddedImageEditToolbar.m
		src/IKImageBrowserExpandCollapseiOSGroupAnimation.m
		src/IKSFElement.m
		src/IKImagePasteboardLayer.m
		src/IKVRamManager.m
		src/IKImageBrowserLayoutManager.m
		src/IKImageEditFrameToolbar.m
		src/IKAccessoryViewController.m
		src/IKImageBrowserBookletGrid.m
		src/IKProfilePictureAttributedImage.m
		src/IKImageCellTrackingViewDatasourceProxy.m
		src/IKImageFlowAccessibilityList.m
		src/IKWindowTransitionAnimation.m
		src/IKImageViewUtils.m
		src/IKColorValueTransformer.m
		src/IKGradientImageButtonCell.m
		src/IKCacheManagerRegistry.m
		src/IKLassoSelection.m
		src/IKSpacerButton.m
		src/IKCacheContext.m
		src/IKCacheDatabaseEntry.m
		src/IKRootLayer.m
		src/IKTexturePacker.m
		src/IKScanUIController.m
		src/IKWindowEffect.m
		src/IKSSToolTipView.m
		src/IKThumbnailBuilder.m
		src/IKImageEditPanelButton.m
		src/IKNCustomLayer.m
		src/IKSelfTestHandler.m
		src/IKImageTextureRange.m
		src/IKFilterChain.m
		src/IKImageInfoView.m
		src/IKImageCorrection.m
		src/IKThumbnailBuilderQueue.m
		src/IKImageBrowserCoverFlowScrollingAnimation.m
		src/IKScanArea.m
		src/IKPPFloatingWindow.m
		src/IKDeviceBrowserHandler.m
		src/IKScannerPreviewSimple.m
		src/IKImageBrowserScrollAnimation.m
		src/IKSSIndexSheetTextLayer.m
		src/IKImageBrowserCoverFlowGrid.m
		src/IKAutolayoutImageView.m
		src/IKPTCropView.m
		src/IKSpinnerLayer.m
		src/IKIconDatabase.m
		src/IKMipmapItem.m
		src/IKPTBackgroundWindow.m
		src/IKPictureTakerRecentsManager.m
		src/IKPTRoundedButton.m
		src/IKImageBrowserGenieEffectManager.m
		src/IKImageFlowFlipAnimation.m
		src/IKViewController.m
		src/IKGLTextInfo.m
		src/IKSSEventLessLayer.m
		src/IKThresholdCorrection.m
		src/IKPTCenteredTextLayer.m
		src/IKScannerParameterView.m
		src/IKScannerDeviceView.m
		src/IKCameraItem.m
		src/IKImageEffectsView.m
		src/IKSlideshowItemLoadOperation.m
		src/IKImageBrowserDisappearAnimation.m
		src/IKSFCropElement.m
		src/IKImageBrowserMagnifying.m
		src/CIFilterListProvider.m
		src/IKGLScroller.m
		src/IKSlideshowDebugItem.m
		src/IKImageBrowserVMScheduler.m
		src/IKCropLayer.m
		src/IKRangeFormatter.m
		src/IKPlaceholderLayer.m
		src/IKPictureTakerRecentPictureRepository.m
		src/IKSSBackgroundWindow.m
		src/IKNoActionShapeLayer.m
		src/IKLinkedListNodePool.m
		src/IKCircleSelection.m
		src/IKSSImageView.m
		src/IKInterfaceBuilderSharedDelegate.m
		src/IKPBNotePlayer.m
		src/IKImageFlowImportAnimation.m
		src/IKImageWrapperAnimatedGifCache.m
		src/IKCameraCollectionViewItem.m
		src/IKImageFlowView.m
		src/IKKnobLayer.m
		src/_IKIRLMainProxy.m
		src/IKImageBrowserGrid.m
		src/IKBookletCell.m
		src/IKImageFlowAppearAnimation.m
		src/IK2PartVertical.m
		src/IKNImageViewHandler.m
		src/IKNKnobsLayer.m
		src/IKImageBrowserExpandCollapseGroupAnimation.m
		src/IKGLTextCacheFragHandler.m
		src/IKTaskAsyncOperation.m
		src/IKImageFlowDisappearAnimation.m
		src/IKSlideshow.m
		src/IKSlideshowQL.m
		src/IKGLTextCache.m
		src/IKInterfaceBuilderImage.m
		src/IKSliderCell.m
		src/IKGuidesLayer.m
		src/IKCameraTableView.m
		src/IKImageBrowserCellOffscreenRenderer.m
		src/IKSlideshowExporter.m
		src/IKProKitCell.m
		src/IKImageGridItem.m
		src/IKCameraDeviceView.m
		src/IKTextField.m
		src/IKiOSStyleGroupCell.m
		src/IKCenteringClipView.m
		src/IKPTImporterController.m
		src/IKPTRoundedButtonCell.m
		src/IKImageHistogram.m
		src/IKGradientHorizontalSeparatorGrooved.m
		src/IKFSEvent.m
		src/IKScanUIControllerSimple.m
		src/IKImageAdjustView.m
		src/IKPictureTaker.m
		src/IKSlideshowDebugger.m
		src/IKScanInfo.m
		src/IKCacheDatabaseUIDInfo.m
		src/IKSegmentedRawDataBuffer.m
		src/IKImagePicker.m
		src/IKAnnotation.m
		src/IKDatasourceDiff.m
		src/IKImageBlockLayer.m
		src/IKICInfoHandler.m
		src/IKPastedImage.m
		src/IKInterfaceBuilderSharedDatasource.m
		src/IKImageBrowserFreeFormLayout.m
		src/IKImageBrowserGenieWindow.m
		src/IKImageCell.m
		src/IKCacheVRamNode.m
		src/IKScanResultsTextCellView.m
		src/IKImageBrowseriOSGroupHighlightCellAnimation.m
		src/IKScannerNoDeviceView.m
		src/IKSyncTaskBag.m
		src/IKImageCellReservedIvars.m
		src/IKCameraFolderWatcher.m
		src/IKPTSlider.m
		src/IKCacheTimeOutLauncher.m
		src/IKPPFloatingWindowAnimation.m
		src/IKCacheData.m
		src/IKPTEffectsController.m
		src/IKScannerPreviewAdvanced.m
		src/IKIrisListener.m
		src/IKImageBrowserCell.m
		src/IKSSPDFView.m
		src/IKGLTextSizeCache.m
		src/IKImageEditView.m
		src/IKGradientImageButton.m
		src/IKCacheFragHandler.m
		src/IKDatasourceDiffResult.m
		src/IKImageViewPrivateData.m
		src/IKScanUIControllerAdvanced.m
		src/IKRectanglePacker.m
		src/IKImageLayer.m
		src/IKIMGPreviewCell.m
		src/IKImageView2ScrollView.m
		src/IKImageContentView.m
		src/IKImageBrowseriOSGroupDimCellsAnimation.m
		src/IKGLTextSubpixelShader.m
		src/IKImageState.m
		src/IKUIHelper.m
		src/IKImageAdjust.m
		src/IKPTImageViewForAnimation.m
		src/IKSaveOptionsHandler.m
		src/IKSelection.m
		src/IKCacheManager.m
		src/IKTabView.m
		src/IKAutoDetection.m
		src/IKImageBrowserAccessibilityCell.m
		src/IKImageEditFrame.m
		src/IKImageBackgroundThumbnailMaskLayer.m
		src/IKScannerSelfTest.m
		src/IKImageView.m
		src/IKRectSelectionImageCapture.m
		src/IKNavigationImageLayer.m
		src/IKSlideshowElement.m
		src/IKSSThumbnailLayer.m
		src/IKImageView2.m
		src/IKStatusLayer.m
		src/IKHierarchicalDatasourceAdaptor.m
		src/IKSSIndexSheetSelectionLayer.m
		src/IKCameraBackgroundView.m
		src/IKTaskManager.m
		src/IKRotationLayer.m
		src/IKGLTextRenderer.m
		src/IKPictureTakerController.m
		src/IKLinkedListNode.m
		src/IKFilterPreviewView.m
		src/IKMonitorBrightnessController.m
		src/IKFinderStackIconCell.m
		src/HorizontalSlider.m
		src/IKPTBorderView.m
		src/IKReflectionCell.m
		src/IKImageEditPanelController.m
		src/IKRootLayout.m
		src/IKImageBrowserSubsetLayoutManager.m
		src/IKBorderedView.m
		src/IKFinderReflectiveIconCell.m
		src/IKMipmapImage.m
		src/IKNSelection.m
		src/IKFlippedView.m
		src/IKGLTextGenerator.m
		src/IKReflectiveIconCell.m
		src/IKFinderCell.m
		src/IKSlideshowItemLoadThumbnailOperation.m
		src/IKDVGrabber.m
		src/IKSSGradientLayer.m
		src/IKColor.m
		src/IKColorView.m
		src/IKPTGridMaskLayer.m
		src/IKSelectionLayer.m
		src/IKGradientHorizontalSeparatorTapered.m
		src/IKSSButton.m
		src/IKTempDirectoryHandler.m
		src/IKDeviceBrowserHeaderView.m
		src/IKTexturePackerItem.m
		src/IKRectSelection.m
		src/IKCacheRamNode.m
		src/IKHardwareCapsChangeNotifier.m
		src/IKLinkedListLink.m
		src/IKGraySliderCell.m
		src/CIVectorView.m
		src/IKGLLayer.m
		src/CIMutableVector.m
		src/IKScannerDeviceViewHandler.m
		src/IKCacheDatabase.m
		src/IKAppKitTextDriver.m
		src/IKImageBrowserCoverFlowIntertiaAnimation.m
		src/IKTemperatureCorrection.m
		src/IKPictureTakerRecentPicture.m
		src/IKPTContentViewController.m
		src/IKFilterBrowserPanel.m
		src/IKIconCell.m
		src/IKNStatusView.m
		src/IKArrowAnnotation.m
		src/IKCameraDeviceViewHandler.m
		src/IKImageAdjustSlider.m
		src/IKAutodetectedItem.m
		src/IKOpenGLRoundedRectRendererCache.m
		src/IKNImageLayer.m
		src/_IKiOSStyleGroupCell.m
		src/IK3PartHorizontal.m
		src/NSMutableAffineTransform.m
		src/IKPTSidebar.m
		src/IKGraySlider.m
		src/IKTextAnnotation.m
		src/IKPTFxButton.m
		src/GPSTextFieldCell.m
		src/IKImageInfo.m
		src/IKPTSliderCell.m
		src/EncapsulatedTextValueTransformer.m
		src/IKImageBrowserGridGroup.m
		src/IKLinkedList.m
		src/IKGLSharedContextRegistry.m
		src/IKScannerDeviceViewHandlerIB.m
		src/IKImageBrowserImportAnimation.m
		src/IKRadianToDegreeValueTransformer.m
		src/IKBookletPlasticCover.m
		src/IKAnnotationPanel.m
		src/IKSSPanel.m
		src/IKDrawing.m
		src/IKImageCropView.m
		src/IKScan.m
		src/IKImageCorrectionHandler.m
		src/IKImageAnalysisManager.m
		src/IKImageClipView.m
		src/IKOpenGLRoundedRectRenderer.m
		src/IKImageBrowserReorderAnimation.m
		src/IKCacheFragHandler_Hole.m
		src/IKImageViewLayerQueue.m
		src/IKImageBrowserView.m
		src/IKSlideshowAudioPlayer.m
		src/IKImageCropViewSlider.m
		src/IKComposer.m
		src/IKCircleAnnotation.m
		src/IKDeviceBrowserView.m
		src/IKPTTitleCell.m
		src/IKImageCropViewEffect.m
		src/IKSFEffectDescription.m
		src/IKSSIndexView.m
		src/IKPictureTakerNibInterface.m
		src/IKImageEditDSHandler.m
		src/IKScanUIViewAdvanced.m
		src/IKSingleImageEffect.m
		src/IKScanResult.m
		src/IKPTSidebarRowView.m
		src/IKAdjustSlider.m
		src/IKImageBrowserAppearAnimation.m
		src/NSAffineTransformView.m
		src/IKOpenGLRenderer.m
		src/IKImageWrapper.m
		src/IKNavigationLayer.m
		src/IKImageRenderInfo.m
		src/IKNAnnotation.m
		src/IKTransitionAnimation.m
		src/IKNRootLayer.m
		src/IKShadowTool.m
		src/IKImageBackgroundLayer.m
		src/IKSSBackgroundImageView.m
		src/IKPlaceholderItem.m
		src/IKTemplateLayer.m
		src/IKDatasourceProxy.m
		src/IKAnimationGroup.m
		src/IKAnimationManager.m
		src/IKPathToCIImageValueTransformer.m
		src/IKTextFieldWindow.m
		src/IKCacheFragHandlerView.m
		src/IKCameraServices.m
		src/HorizontalSliderCell.m
		src/IKCustomPathPopupButton.m
		src/IKImageCropPRS.m
		src/IKFlockingDatasourceItem.m
		src/IKSyncTaskBagItem.m
		src/IKSlider.m
		src/IKCameraIconCellView.m
		src/IKProfilePictureRolloverLayer.m
		src/IKPathPopupButton.m
		src/IKFilterUIView.m
		src/IKSlideshowDataSourceHandler.m
		src/IKTextFieldContentView.m
		src/IKImageFlowScrollingAnimation.m
		src/IKPTArrowButton.m
		src/IKSaveOptions.m
		src/IKInfoTabView.m
		src/IKCGRenderer.m
		src/IKPTSquareButtonCell.m
		src/IKLayerRenderer.m
		src/IKImageBrowseriOSGroupGrid.m
		src/IKPTImageGridView.m
		src/IKDeviceBrowserHandlerIB.m
		src/IKPTCountdownView.m
		src/IKCameraDeviceViewHandlerIB.m
		src/IKSlideshowHandler.m
		src/IKRamManager.m
		src/IKAnnotationLayer.m
		src/IKProfilePictureView.m
		src/_IKTypeSelectData.m
		src/IKImageEditWorldMap.m
		src/IKPictureTakerView.m
		src/IKCameraDownloader.m
		src/IKImageEditWorldMapOld.m
		src/IKImageBrowserGenieView.m
		src/IKImageCellDatasourceProxy.m
		src/IKScanUIViewSimple.m
		src/IKImageBrowserFloatingGroupGrid.m
		src/IKImageAdjustSliderCell.m
		src/IKMediaPlugin.m
		src/IKImageEditPanel.m
		src/IKMultipleSegmentedRawDataBuffer.m
		src/IKNStatusView2.m
		src/IKScanResultsHandler.m
		src/IKTexturePackerView.m
		src/IKSlideshowImage.m
		src/IKCenteredLayer.m
		src/IKNStatusRoot.m
		src/IKImageBrowserExpandCollapseItemsAnimation.m
		src/IKKnob.m
		src/IKMetadataHandler.m
		src/IKSSIndexHandler.m
		src/IKImageFlowCell.m
		src/IKAccessoryView.m
		src/IKImageBannerView.m
		src/NSAffineTransform+CIFilterUIViewCreationAddition.m
		src/NSCollectionView+IK.m
		src/CIColor+CIFilterUIViewCreationAddition.m
		src/NSTreeNode+IK.m
		src/NSFileManager+IKPictureTakerAdditions.m
		src/NSImageRep+IKAdditions.m
		src/NSObject+IKInterThread.m
		src/NSButton+IKScanButton.m
		src/NSColor+IKAdditions.m
		src/CIImage+CIFilterUIViewCreationAddition.m
		src/NSGraphicsContext+IKScan.m
		src/NSArray+IKPictureTakerAdditions.m
		src/NSBitmapImageRep+ik_cgexamples.m
		src/CIVector+CIFilterUIViewCreationAddition.m
		src/NSImage+IKAdditions.m
		src/NSBezierPath+IKAddition.m
		src/NSScroller+IKImageBrowserAdditions.m
		src/NSWindow+IKPictureTakerAdditions.m
		src/CIFilter+IKFilterUIAddition.m
		src/NSString+IKCocoaFixes.m
		src/CAShapeLayer+IKNImageView.m
		src/NSMenu+FileFormat.m
		src/ICDevice+IKDeviceBrowserViewExtension.m
		src/NSAttributedString+IKEditingExtensions.m
		src/NSPopUpButton+IKSO.m
		src/NSView+DelayedHide.m
		src/NSFont+IKCommonFonts.m
		src/NSImageView+IC.m
		src/NSNumber+CIFilterUIViewCreationAddition.m
		src/ICCameraFile+IK.m
		src/CALayer+LayerExtra.m
		src/ImageKit.m

	DEPENDENCIES
		system
		objc
		Foundation
		AppKit
		QuartzCore
)
